Skip to content

refactor: rename RowIdMask to RowAddrMask#5281

Merged
yanghua merged 3 commits intolance-format:mainfrom
yanghua:rename-RowIdMask
Dec 20, 2025
Merged

refactor: rename RowIdMask to RowAddrMask#5281
yanghua merged 3 commits intolance-format:mainfrom
yanghua:rename-RowIdMask

Conversation

@yanghua
Copy link
Copy Markdown
Collaborator

@yanghua yanghua commented Nov 19, 2025

sub-task of #5326

@yanghua yanghua marked this pull request as ready for review November 19, 2025 13:09
@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 8, 2025

@yanghua
Copy link
Copy Markdown
Collaborator Author

yanghua commented Dec 8, 2025

This work is a subtask of this issue. #5326

@yanghua yanghua requested a review from jackye1995 December 8, 2025 09:03
@yanghua
Copy link
Copy Markdown
Collaborator Author

yanghua commented Dec 8, 2025

@jackye1995, please take a look, thanks.

@yanghua yanghua requested a review from wjones127 December 9, 2025 00:40
@yanghua
Copy link
Copy Markdown
Collaborator Author

yanghua commented Dec 16, 2025

Hi @jackye1995 @wjones127 Please take a look, when you have time.

Copy link
Copy Markdown
Contributor

@majin1102 majin1102 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems a light name changing from row_id to row_addr. Looks good to me

Comment thread rust/lance/src/session/caches.rs
Comment thread rust/lance-core/src/utils/mask/nullable.rs
Comment thread rust/lance-core/src/utils/mask.rs Outdated
Comment thread rust/lance/src/io/exec/knn.rs Outdated
@github-actions
Copy link
Copy Markdown
Contributor

Review Summary

This is a clean mechanical rename refactoring from RowIdMask to RowAddrMask (and related types like NullableRowIdMaskNullableRowAddrMask, iter_idsiter_addrs). The changes are part of the larger effort in #5326 to distinguish between row address and stable row ID semantics.

Assessment: ✅ LGTM

No P0/P1 issues found.

The refactoring is straightforward and consistent:

  • All type renames are applied uniformly across the codebase
  • Variable names are updated to match (e.g., row_idrow_addr where appropriate)
  • Comments and documentation updated to reflect the new terminology
  • Test names updated (test_row_id_masktest_row_addr_mask)
  • No behavioral changes - pure rename refactoring

The coverage gaps reported by Codecov are on pre-existing uncovered lines, not regressions introduced by this PR.

Copy link
Copy Markdown
Contributor

@jackye1995 jackye1995 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me!

@yanghua yanghua merged commit 119f87b into lance-format:main Dec 20, 2025
29 of 30 checks passed
wjones127 pushed a commit to wjones127/lance that referenced this pull request Dec 30, 2025
jackye1995 pushed a commit to jackye1995/lance that referenced this pull request Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants